package com.hyj.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hyj.entity.ConsumeLogs;
import com.hyj.mapper.ConMapper;
import com.hyj.service.ConService;

/**
 * 日志实现类
 * @author 智宇群
 *
 */
@Service
public class ConServiceImpl implements ConService {

	@Autowired
	ConMapper conMapper;

	@Override
	public List<ConsumeLogs> getLog(ConsumeLogs log) {
		// TODO Auto-generated method stub
		return conMapper.getLog(log);
	}

	

	public boolean addLog(String allNo, String pId) {
		// TODO Auto-generated method stub
		return conMapper.addLog(allNo, pId);
	}

	
	
}
